package com;

import java.util.List;

import model.Comment;
import model.Gallery;
import model.Order;
import model.Product;
import model.UserDetails;

public interface ProductDao {

	public List<Product> getDecoys();
	
	public List<Product> getRents();

	public List<Product> getCamouflages();

	public void save(Order order);

	public List<Product> search(String param);

	public List<Gallery> getGallery(String param);

	public Product getProductById(String param);

	public List<Comment> getComments(String param);

	public void save(Comment comment);

	public void registerNewUser(UserDetails user);
	
	public String getUserCity(String username);
	
	public String getUserMail(String username);
	
	public int confirmUser(String username,String confirmationCode);
	
	public boolean confirmed(String username);

}
